<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QQuaternion Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QQuaternion Class Reference</h1>
<h3 align="center">[<a href="qt_gui.html">qt.gui</a> package]</h3>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QQuaternion()</b></li>
<li><div class="fn"/><b>void QQuaternion(QVector4D vector)</b></li>
<li><div class="fn"/><b>void QQuaternion(float scalar, QVector3D vector)</b></li>
<li><div class="fn"/><b>void QQuaternion(float scalar, float xpos, float ypos, float zpos)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QQuaternion prototype object</li>
<li><div class="fn"/><b>float dotProduct(QQuaternion q1, QQuaternion q2)</b></li>
<li><div class="fn"/><b>QQuaternion fromAxes(QVector3D xAxis, QVector3D yAxis, QVector3D zAxis)</b></li>
<li><div class="fn"/><b>QQuaternion fromAxisAndAngle(QVector3D axis, float angle)</b></li>
<li><div class="fn"/><b>QQuaternion fromDirection(QVector3D direction, QVector3D up)</b></li>
<li><div class="fn"/><b>QQuaternion fromEulerAngles(QVector3D eulerAngles)</b></li>
<li><div class="fn"/><b>QQuaternion fromRotationMatrix(QMatrix3x3 rot3x3)</b></li>
<li><div class="fn"/><b>QQuaternion nlerp(QQuaternion q1, QQuaternion q2, float t)</b></li>
<li><div class="fn"/><b>QQuaternion rotationTo(QVector3D from, QVector3D to)</b></li>
<li><div class="fn"/><b>QQuaternion slerp(QQuaternion q1, QQuaternion q2, float t)</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<ul>
<li><div class="fn"/><b>QQuaternion conjugate()</b></li>
<li><div class="fn"/><b>QQuaternion conjugated()</b></li>
<li><div class="fn"/><b>void getAxes(QVector3D xAxis, QVector3D yAxis, QVector3D zAxis)</b></li>
<li><div class="fn"/><b>void getAxisAndAngle(QVector3D axis, float angle)</b></li>
<li><div class="fn"/><b>void getEulerAngles(float pitch, float yaw, float roll)</b></li>
<li><div class="fn"/><b>QQuaternion inverted()</b></li>
<li><div class="fn"/><b>bool isIdentity()</b></li>
<li><div class="fn"/><b>bool isNull()</b></li>
<li><div class="fn"/><b>float length()</b></li>
<li><div class="fn"/><b>float lengthSquared()</b></li>
<li><div class="fn"/><b>void normalize()</b></li>
<li><div class="fn"/><b>QQuaternion normalized()</b></li>
<li><div class="fn"/><b>QQuaternion operator_add_assign(QQuaternion quaternion)</b></li>
<li><div class="fn"/><b>QQuaternion operator_divide_assign(float divisor)</b></li>
<li><div class="fn"/><b>bool operator_equal(QQuaternion q2)</b></li>
<li><div class="fn"/><b>QQuaternion operator_multiply_assign(QQuaternion quaternion)</b></li>
<li><div class="fn"/><b>QQuaternion operator_subtract_assign(QQuaternion quaternion)</b></li>
<li><div class="fn"/><b>QVector3D rotatedVector(QVector3D vector)</b></li>
<li><div class="fn"/><b>float scalar()</b></li>
<li><div class="fn"/><b>void setScalar(float scalar)</b></li>
<li><div class="fn"/><b>void setVector(QVector3D vector)</b></li>
<li><div class="fn"/><b>void setX(float x)</b></li>
<li><div class="fn"/><b>void setY(float y)</b></li>
<li><div class="fn"/><b>void setZ(float z)</b></li>
<li><div class="fn"/><b>QVector3D toEulerAngles()</b></li>
<li><div class="fn"/><b>QMatrix3x3 toRotationMatrix()</b></li>
<li><div class="fn"/><b>QVector4D toVector4D()</b></li>
<li><div class="fn"/><b>QVector3D vector()</b></li>
<li><div class="fn"/><b>float x()</b></li>
<li><div class="fn"/><b>float y()</b></li>
<li><div class="fn"/><b>float z()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QQuaternion objects have no special properties beyond those inherited from the QQuaternion prototype object.</p>
</body>
</html>
